package cn.e4j.modular.crm.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author shixc
 * @since 2019-02-01
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWDB_T")
public class Gwdc002Export extends PO<Gwdc002Export> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWDBENT", type = IdType.INPUT)
    private String GWDBENT;
    @Excel(name = "申请单号")
    private String GWDB001;

    @Excel(name = "是否审核",replace = {"是_Y","否_N"})
    private String GWDBACTI;

    @Excel(name = "申请日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWDB004;
    
    @Excel(name = "申请人员")
    private String GWDB007_NAME;

    @Excel(name = "申请部门")
    private String GWDB008_NAME;

    @Excel(name = "审核人")
    private String GWDB009_NAME;

    @Excel(name = "审核时间")
    private LocalDateTime GWDB010;

    @Excel(name = "生效日期",importFormat="yyyy/M/d")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWDB005;

    @Excel(name = "对象类型")
    private String GWDB003;

    @Excel(name = "备注")
    private String GWDB011;

     private String GWDB002;

     @DateTimeFormat(pattern = "yyyy-MM-dd")
     private LocalDate GWDB006;

     private String GWDB007;

     private String GWDB008;

     private String GWDB009;

     private String GWDB012;

     private String GWDB013;

     private String GWDB014;

     private String GWDB015;

     private BigDecimal GWDB016;

     private String GWDB017;

     private String GWDB018;

     private String GWDB019;

     private String GWDB020;

     private String GWDB021;


    @Override
    protected Serializable pkVal() {
        return this.GWDBENT;
    }

}
